from django.conf.urls import url
from django.urls import path
from django.views.generic import TemplateView

from fkl_salary import views

# 注册CBV视图
# router = DefaultRouter()
# router.register('motto', MottoViewSet)

urlpatterns = [
    # 直接输入IP或者域名进行跳转
    url(r'^$', views.fkl_index, name='default'),

    # FKL公司的OA系统
    # path('fklsalary/', views.fkl_index,name='fkl_index'),
    path('fkloa/not_login_index/', views.not_login_index, name='not_login_index'),
    path('fklapi/v1/calDate/', views.CalDateView.as_view(), name='cal_date'),
    path('fklapi/v1/calTax/', views.CalTaxView.as_view(), name='cal_tax'),
]
